package com.swdegao.iot.netty.service;

import org.springframework.stereotype.Component;
import com.swdegao.iot.netty.entity.Terminals;

@Component
public interface TerminalsService {
    
    int deleteByIMEI( String imei);

    int insert(Terminals terminal);

    int insertSelective(Terminals terminal);
    
    Terminals selectByIMEI( String imei);

    int updateByPrimaryKeySelective(Terminals terminal);
    
    int updateTerminalOnlineStatus(Terminals terminal);

}